package com.xiaobai.service.impl;
import java.math.BigDecimal;

import com.xiaobai.product.bean.Product;
import com.xiaobai.service.ProductService;
import org.springframework.stereotype.Service;

@Service
public class ProductServiceImpl implements ProductService {
    @Override
    public Product selectProductByBid(Long productId) {
        Product product = new Product();
        product.setProductId(productId);
        product.setPrice(new BigDecimal("99.99"));
        product.setProductName("小米");
        product.setNum(2);
        return product;
    }
}
